package com.macrounion.atv.service.service;

import java.util.Date;
import java.util.List;

import com.github.pagehelper.Page;
import com.macrounion.atv.service.entity.CurrentData;
import com.macrounion.atv.service.entity.ext.CurrentDataExt;
import com.macrounion.base.service.service.BaseService;

public interface CurrentDataService extends BaseService<CurrentData> {

    void saveData(List<CurrentData> datas);

    List<CurrentData> getCurrentData(String deviceId);

    List<CurrentData> getCurrentDataByDeviceCode(String deviceCode);

    Page<CurrentDataExt> requestPageExt(CurrentDataExt request);

    CurrentData getCurrentData(String deviceCode, String channelCode);

    List<CurrentData> getSnmpTraps();

	int getTrapNum();
}